package com.mqtt.ctwingmqtt.domain;

import lombok.Data;

@Data // Lombok注解，自动生成getter/setter
public class BatchResultEntry {
    private String deviceId; // 设备ID（如 deviceAddress）
    private int code;        // 状态码
    private String message;  // 消息描述
    private boolean success; // 是否成功

    public BatchResultEntry(String deviceId, int code, String message, boolean success) {
        this.deviceId = deviceId;
        this.code = code;
        this.message = message;
        this.success = success;
    }
}